<?php
	header('content-type: application/json');
		
	$arr = array();
	
	if($sothe)
	{
		foreach($sothe as $row)
		{
			$arr[] = $row;
		}
	}
	
	echo json_encode($arr);
?>